home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / Insight / library / SGI_bookshelves / Help / books / WebjumperHelp / styles / toc.pv < prev    next >
Encoding:
Text File  |  2001-04-17  |  15.0 KB  |  379 lines

  1. <!--     Silicon Graphics, Inc.
  2.     SGIDOCBK DTD fulltext & TOC stylesheets
  3.     Software Publications
  4.     InSight/DynaText version
  5.     4/16/1999
  6.     last updated by: Adrian Daley (agd@sgi.com)
  7.     IRIS InSight Main TOC Stylesheet
  8.     IRIS InSight Print Stylesheet
  9.     Version 1.0
  10.     Revision Control Version $Revision: 1.4 $
  11. -->
  12.  
  13.  
  14.  
  15. <!ENTITY    lang.charset        CDATA    ""    >
  16. <!ENTITY    frontmatter.text-b4    CDATA    "Front Matter"    >
  17. <!ENTITY    index.text-b4        CDATA    "Index"    >
  18. <!ENTITY    index.text-see        CDATA    "See"    >
  19. <!ENTITY    index.text-seealso    CDATA    "See Also"    >
  20. <!ENTITY    note.text-b4        CDATA    "Note:"    >
  21. <!ENTITY    note-ansi-iso.text-b4    CDATA    "ANSI/ISO:"    >
  22. <!ENTITY    note-openmp.text-b4    CDATA    "OpenMP:"    >
  23. <!ENTITY    warning.text-b4        CDATA    "Warning:"    >
  24. <!ENTITY    caution.text-b4        CDATA    "Caution:"    >
  25. <!ENTITY    danger.text-b4        CDATA    "Danger:"    >
  26. <!ENTITY    table.text-b4        CDATA    "Table"    >
  27. <!ENTITY    example.text-b4        CDATA    "Example"    >
  28. <!ENTITY    figure.text-b4        CDATA    "Figure"    >
  29. <!ENTITY    notices.text-b4        CDATA    "Notices"    >
  30. <!ENTITY    important.text-b4    CDATA    "Important:"    >
  31. <!ENTITY    revision.text-b4    CDATA    "Record of Revision"    >
  32. <!ENTITY    shortcut.text-b4    CDATA    "Shortcut:"    >
  33. <!ENTITY    tip.text-b4        CDATA    "Tip:"    >
  34. <!ENTITY    appendix.text-b4    CDATA    "Appendix"    >
  35. <!ENTITY    chapter.text-b4        CDATA    "Chapter"    >
  36. <!ENTITY    chapter.text-after    CDATA    ""    >
  37. <!ENTITY    footnote.text-b4    CDATA    "Footnote"    >
  38. <!ENTITY    section.text-b4        CDATA    "Section"    >
  39. <!ENTITY    part.text-b4        CDATA    "Part"    >
  40. <!ENTITY    procedure.text-b4    CDATA    "Procedure"    >
  41. <!ENTITY    equation.text-b4    CDATA    "Equation"    >
  42. <!ENTITY    click-here.text-b4    CDATA    "[Click Here]"    >
  43. <!ENTITY    preface.text-b4        CDATA    "Preface"    >
  44. <!ENTITY    glossary.text-b4    CDATA    "Glossary"    >
  45. <!ENTITY    documentnum.text-b4    CDATA    "Document Number"    >
  46. <!ENTITY    contributors.text-b4    CDATA    "Contributors"    >
  47. <!ENTITY    about-guide.text-b4    CDATA    "About This Guide"    >
  48. <!ENTITY    about-manual.text-b4    CDATA    "About This Manual"    >
  49. <!ENTITY    about-document.text-b4    CDATA    "About This Document"    >
  50. <!ENTITY    step.text-b4        CDATA    "step"    >
  51. <!ENTITY    version.text-b4        CDATA    "Version"    >
  52. <!ENTITY    newfeatures.text-b4    CDATA    "New Features"    >
  53. <!ENTITY    contents.text-b4    CDATA    "Contents"    >
  54. <!ENTITY    pubdate.text-b4        CDATA    "Publication Date"    >
  55. <!ENTITY    published.text-b4    CDATA    "Published"    >
  56. <!ENTITY    edition.text-b4        CDATA    "Version"    >
  57. <!ENTITY    figures-list.text-b4    CDATA    "List of Figures"    >
  58. <!ENTITY    procedures-list.text-b4    CDATA    "List of Procedures"    >
  59. <!ENTITY    tables-list.text-b4    CDATA    "List of Tables"    >
  60. <!ENTITY    examples-list.text-b4    CDATA    "List of Examples"    >
  61. <!ENTITY    media-list.text-b4    CDATA    "List of Media"    >
  62.  
  63.  
  64.  
  65.  
  66. <!ENTITY    body.font-family    CDATA    "switch(attr(LANG,ancestor(SGIDOCBK)),ja_JP.EUC,Ryumin-Light-EUC-H,DEFAULT,new century schoolbook)"    >
  67. <!ENTITY    character-set        CDATA    "switch(attr(LANG,ancestor(SGIDOCBK)),ja_JP.EUC,shiftjis,DEFAULT,)"    >
  68. <!ENTITY    titles.font-family    CDATA    "switch(attr(LANG,ancestor(SGIDOCBK)),ja_JP.EUC,GothicBBB-Medium-EUC-H,DEFAULT,helvetica)"    >
  69.  
  70. <!ENTITY    body.font-size        CDATA    "12"    >
  71. <!ENTITY    body.line-spacing    CDATA    "14"    >
  72. <!ENTITY    body.left-indent    CDATA    "48"    >
  73. <!ENTITY    body.right-indent    CDATA    "10"    >
  74.  
  75. <!ENTITY    float.space-before    CDATA    "if(ancestor(me(),para,1),8,0)" >
  76. <!ENTITY    float.space-after    CDATA    "if(eq(rsibling(),0),0,8)" >
  77. <!ENTITY    big-float.space-after    CDATA    "if(eq(rsibling(),0),0,17)" >
  78.  
  79. <!ENTITY    smaller.font-size    CDATA    "-=2"    >
  80. <!ENTITY    italic.font-slant    CDATA    "switch(attr(LANG,ancestor(SGIDOCBK)),ja_JP.EUC,*,ko_KR.euc,*,zh_CN.ugb,*,zh_TW.ucns,*,zh_TW.big5,*,DEFAULT,Italics)"    >
  81. <!ENTITY    super.vertical-offset    CDATA    "4"    >
  82. <!ENTITY    sub.vertical-offset    CDATA    "-3"    >
  83.  
  84. <!ENTITY    titles.foreground    CDATA    "if(env(INSIGHT_FG),env(INSIGHT_FG),Black)"    >
  85. <!ENTITY    titles.space-after    CDATA    "8"    >
  86. <!ENTITY    titles.left-indent    CDATA    "0"    >
  87. <!ENTITY    font-weight.bold    CDATA    "switch(attr(LANG,ancestor(SGIDOCBK)),ja_JP.EUC,Medium,ko_KR.euc,Medium,zh_CN.ugb,Medium,zh_TW.ucns,Medium,zh_TW.big5,Medium,DEFAULT,Bold)"    >
  88. <!ENTITY    font-weight.medium    CDATA    "switch(attr(LANG,ancestor(SGIDOCBK)),ja_JP.EUC,Medium,ko_KR.euc,Medium,zh_CN.ugb,Medium,zh_TW.ucns,Medium,zh_TW.big5,Medium,DEFAULT,Medium)"   >
  89. <!ENTITY    command-font        CDATA    "switch(attr(LANG,ancestor(SGIDOCBK)),ja_JP.EUC,*,ko_KR.euc,*,zh_CN.ugb,*,zh_TW.ucns,*,zh_TW.big5,*,DEFAULT,courier)"    >
  90.  
  91. <!ENTITY    font-slant.roman    CDATA    "switch(attr(LANG,ancestor(SGIDOCBK)),ja_JP.EUC,*,ko_KR.euc,*,zh_CN.ugb,*,zh_TW.ucns,*,zh_TW.big5,*,DEFAULT,Roman)"    >
  92. <!ENTITY    font-slant.italics    CDATA    "switch(attr(LANG,ancestor(SGIDOCBK)),ja_JP.EUC,*,ko_KR.euc,*,zh_CN.ugb,*,zh_TW.ucns,*,zh_TW.big5,*,DEFAULT,Italics)"    >
  93.  
  94. <!ENTITY    titles-b.font-size    CDATA    "14"    >
  95. <!ENTITY    titles-d.font-size    CDATA    "12"    >
  96. <!ENTITY    titles-b.line-spacing    CDATA    "22"    >
  97. <!ENTITY    titles-d.line-spacing    CDATA    "17"    >
  98.  
  99. <!ENTITY    basic.left-indent    CDATA    "+=15"    >
  100. <!ENTITY    hanging.first-indent    CDATA    "-15"    >
  101.  
  102. <!ENTITY    number.parent-text    CDATA    "if(ancestor(CHAPTER),gcnum(ancestor(CHAPTER))-,if(ancestor(APPENDIX),format(gcnum(ancestor(APPENDIX)),LETTER2)-,if(ancestor(GLOSSARY),Gl-,)))if(or(ancestor(PREFACE),ancestor(BOOKINFO)),format(gcnum(me()),roman),gcnum(me()))"    >
  103. <!ENTITY    number.title-text    CDATA    "if(ancestor(CHAPTER),gcnum(ancestor(CHAPTER))-,if(ancestor(APPENDIX),format(gcnum(ancestor(APPENDIX)),LETTER2)-,if(ancestor(GLOSSARY),Gl-,)))if(or(ancestor(PREFACE),ancestor(BOOKINFO)),format(gcnum(ancestor(me())),roman),gcnum(ancestor(me())))"    >
  104. <!ENTITY    number.table-title-text    CDATA    "if(ancestor(CHAPTER),gcnum(ancestor(CHAPTER))-,if(ancestor(APPENDIX),format(gcnum(ancestor(APPENDIX)),LETTER2)-,if(ancestor(GLOSSARY),Gl-,)))if(or(ancestor(PREFACE),ancestor(BOOKINFO)),format(gcnum(me()),roman),gcnum(me()))"    >
  105. <!ENTITY    classcode108    CDATA    "eq(content(typechild('CLASSCODE',typechild('PARTNUMBER',typechild('BOOKBIBLIO',typechild('BOOKINFO',typechild('BOOK',ancestor(SGIDOCBK))))))),'108')"    >
  106. <!ENTITY    numheads    CDATA    "eq(attr(NUMHEADS,ancestor(SGIDOCBK)),Y)"    >
  107. <!ENTITY    add.left-indent        CDATA    "+=20"    >
  108.  
  109. <sheet>
  110.  
  111. <group name="H1">
  112.     <font-weight>    &font-weight.bold;    </>
  113.     <space-before>    8    </>
  114. </group>
  115.  
  116.  
  117. <group name="H1.TEXT-BEFORE">
  118.     <font-weight>    &font-weight.medium;    </>
  119.     <font-slant>    &italic.font-slant;    </>
  120.     <break-before>    Line            </>
  121.     <break-after>    Line            </>
  122.     <space-after>    4            </>
  123. </group>
  124.  
  125. <group name="H2">
  126.     <left-indent>    &basic.left-indent;    </>
  127.     <first-indent>    &hanging.first-indent;    </>
  128.     <break-before>    Line            </>
  129.     <space-after>    4            </>
  130. </group>
  131.  
  132. <group name="H3">
  133.     <left-indent>    &basic.left-indent;    </>
  134.     <first-indent>    &hanging.first-indent;    </>
  135.     <break-before>    Line            </>
  136.     <space-after>    4            </>
  137. </group>
  138.  
  139. <group name="H4">
  140.     <left-indent>    &basic.left-indent;    </>
  141.     <first-indent>    &hanging.first-indent;    </>
  142.     <break-before>    Line            </>
  143.     <space-after>    4            </>
  144. </group>
  145.  
  146. <group name="H5">
  147.     <left-indent>    &basic.left-indent;    </>
  148.     <first-indent>    &hanging.first-indent;    </>
  149.     <break-before>    Line            </>
  150.     <space-after>    4            </>
  151. </group>
  152.  
  153. <group name="H6">
  154.     <left-indent>    &basic.left-indent;    </>
  155.     <first-indent>    &hanging.first-indent;    </>
  156.     <break-before>    Line            </>
  157.     <space-after>    4            </>
  158. </group>
  159.  
  160. <group name="CAPTION">
  161.     <left-indent>    110    </>
  162.     <first-indent>    -85    </>
  163.     <space-before>    2    </>
  164.     <space-after>    2    </>
  165.     <justification>    Left    </>
  166.     <break-before>    Line    </>
  167. </group>
  168.  
  169. <group name="CAPTION.TEXT-BEFORE">
  170.     <font-weight>    &font-weight.bold;    </>
  171. </group>
  172.  
  173.  
  174. <style name="SGIDOCBK"></style>
  175. <style name="BOOK">
  176.     <font-family>    &titles.font-family;    </>
  177.     <foreground>    &titles.foreground;    </>
  178.     <font-size>    &titles-d.font-size;    </>
  179.     <line-spacing>    15            </>
  180.     <space-before>    4            </>
  181.     <left-indent>    &add.left-indent;    </>
  182.     <character-set> &character-set;      </>
  183.     <title-tag>    BOOKINFO,BOOKBIBLIO,TITLE    </>
  184. </style>
  185.  
  186. <style name="BOOK,#TEXT-BEFORE" group="H1">
  187.     <font-size>    &titles-b.font-size;    </>
  188.     <font-weight>    &font-weight.bold;    </>
  189.     <space-before>    8            </>
  190.     <break-after>    Line            </>
  191. </style>
  192.  
  193. <style name="BOOKINFO,BOOKBIBLIO,TITLE" group="H1">
  194.     <font-size>    &titles-b.font-size;    </>
  195.     <font-weight>    &font-weight.bold;    </>
  196.     <space-before>    8            </>
  197.     <break-after>    Line            </>
  198. </style>
  199.  
  200. <group name="#ROOT">
  201.     <left-indent>    4    </>
  202. </group>
  203.  
  204. <!-- Default settings for SDATA entities from our entity sets -->
  205. <style name="#SDATA">
  206.     <character-set>    attr(charset)    </>
  207.     <text-before>gamut(attr(name),'trade  mdash  bull','(TM)   --  *',join('&',attr(name),';'))</>
  208. </style>
  209.  
  210. <style name="#TAGS">
  211.     <font-weight>    &font-weight.bold;    </>
  212. </style>
  213.  
  214. <!-- Style"#toc-annot" is reserved, and defines the appearance of the
  215.      bookmarks, word frequencies, location markers, etc. in left margin. -->
  216. <style name="#TOC-ANNOT">
  217.     <character-set>    fontspecific    </>
  218.     <font-family>    &command-font;    </>
  219.     <font-weight>    &font-weight.bold;    </>
  220.     <font-size>    12    </>
  221.     <foreground>    magenta    </>
  222. </style>
  223.  
  224. <!-- Make sure index terms don't appear in the title -->
  225. <style name="INDEXTERM">
  226.     <hide>    All    </>
  227. </style>
  228.  
  229. <style name="COMMENT">
  230.     <hide>    All    </>
  231. </style>
  232.  
  233. <style name="SUBSCRIPT">
  234.     <font-size>    &smaller.font-size;    </>
  235.     <vertical-offset>    &sub.vertical-offset;    </>
  236. </style>
  237.  
  238. <style name="SUPERSCRIPT">
  239.     <font-size>    &smaller.font-size;    </>
  240.     <vertical-offset>    &super.vertical-offset;    </>
  241. </style>
  242.  
  243. <group name="TOC">
  244.     <left-indent>    &basic.left-indent;    </>
  245.     <title-tag>    TITLE            </>
  246.     <space-after>    4            </>
  247. </group>
  248.  
  249. <style name="PREFACE" group="TOC"></style>
  250. <style name="PART" group="TOC"></style>
  251. <style name="CHAPTER" group="TOC"></style>
  252. <style name="SECTION" group="TOC"></style>
  253. <style name="APPENDIX" group="TOC"></style>
  254. <style name="GLOSSARY" group="TOC">
  255.     <title-tag>    if(typechild(TITLE,me()),TITLE,#TEXT-BEFORE)    </>
  256.     <text-before>    if(typechild(TITLE,me()),,&glossary.text-b4;)    </>
  257.     <space-before>    if(typechild(TITLE,me()),,8)    </>
  258. </style>
  259.  
  260.  
  261. <style name="GLOSSARY,TITLE" group="H1"></style>
  262. <style name="GLOSSARY,#TEXT-BEFORE" group="H1"></style>
  263.  
  264. <style name="INDEX,TITLE" group="H1"></style>
  265. <style name="INDEX,#TEXT-BEFORE" group="H1"></style>
  266.  
  267. <style name="PART,TITLE" group="H1">
  268.     <text-before>&part.text-b4; format(gcnum(ancestor(part)),ROMAN) </>
  269. </style>
  270.  
  271. <style name="PART,TITLE,#TEXT-BEFORE" group="H1.TEXT-BEFORE"></style>
  272.  
  273. <style name="PREFACE,TITLE" group="H1"></style>
  274.  
  275. <style name="CHAPTER,TITLE" group="H1">
  276.     <text-before>&chapter.text-b4; gcnum(ancestor(chapter))&chapter.text-after; </>
  277. </style>
  278.  
  279. <style name="CHAPTER,TITLE,#TEXT-BEFORE" group="H1.TEXT-BEFORE"></style>
  280.  
  281. <style name="CHAPTER,SECTION,TITLE" group="H2">
  282.     <text-before>if(and(&numheads;,&classcode108;),gcnum(ancestor(chapter)).cnum(ancestor(section))'  ',)</>
  283. </style>
  284. <style name="CHAPTER,SECTION,SECTION,TITLE" group="H3">
  285.     <text-before>if(and(&numheads;,&classcode108;),gcnum(ancestor(chapter)).cnum(ancestor(me(),section,2)).cnum(ancestor(section))'  ',)</>
  286. </style>
  287. <style name="CHAPTER,SECTION,SECTION,SECTION,TITLE" group="H4">
  288.     <text-before>if(and(&numheads;,&classcode108;),gcnum(ancestor(chapter)).cnum(ancestor(me(),section,3)).cnum(ancestor(me(),section,2)).cnum(ancestor(section))'  ',)</>
  289. </style>
  290. <style name="CHAPTER,SECTION,SECTION,SECTION,SECTION,TITLE" group="H5">
  291.     <text-before>if(and(&numheads;,&classcode108;),gcnum(ancestor(chapter)).cnum(ancestor(me(),section,4)).cnum(ancestor(me(),section,3)).cnum(ancestor(me(),section,2)).cnum(ancestor(section))'  ',)</>
  292. </style>
  293. <style name="CHAPTER,SECTION,SECTION,SECTION,SECTION,SECTION,TITLE" group="H6">
  294.         <text-before>if(and(&numheads;,&classcode108;),gcnum(ancestor(chapter)).cnum(ancestor(me(),section,5)).cnum(ancestor(me(),section,4)).cnum(ancestor(me(),section,3)).cnum(ancestor(me(),section,2)).cnum(ancestor(section))'  ',)</>
  295. </style>
  296.  
  297. <style name="APPENDIX,TITLE" group="H1">
  298.     <text-before>&appendix.text-b4; format(gcnum(ancestor(appendix)),LETTER) </>
  299. </style>
  300.  
  301. <style name="APPENDIX,TITLE,#TEXT-BEFORE" group="H1.TEXT-BEFORE"></style>
  302.  
  303. <style name="APPENDIX,SECTION,TITLE" group="H2">
  304.     <text-before>if(and(&numheads;,&classcode108;),format(gcnum(ancestor(appendix)),LETTER).cnum(ancestor(section))'  ',)</>
  305. </style>
  306. <style name="APPENDIX,SECTION,SECTION,TITLE" group="H3">
  307.     <text-before>if(and(&numheads;,&classcode108;),format(gcnum(ancestor(appendix)),LETTER).cnum(ancestor(me(),section,2)).cnum(ancestor(section))'  ',)</>
  308. </style>
  309. <style name="APPENDIX,SECTION,SECTION,SECTION,TITLE" group="H4">
  310.     <text-before>if(and(&numheads;,&classcode108;),format(gcnum(ancestor(appendix)),LETTER).cnum(ancestor(me(),section,3)).cnum(ancestor(me(),section,2)).cnum(ancestor(section))'  ',)</>
  311. </style>
  312. <style name="APPENDIX,SECTION,SECTION,SECTION,SECTION,TITLE" group="H5">
  313.     <text-before>if(and(&numheads;,&classcode108;),format(gcnum(ancestor(appendix)),LETTER).cnum(ancestor(me(),section,4)).cnum(ancestor(me(),section,3)).cnum(ancestor(me(),section,2)).cnum(ancestor(section))'  ',)</>
  314. </style>
  315. <style name="APPENDIX,SECTION,SECTION,SECTION,SECTION,SECTION,TITLE" group="H6">
  316.     <text-before>if(and(&numheads;,&classcode108;),format(gcnum(ancestor(appendix)),LETTER).cnum(ancestor(me(),section,5)).cnum(ancestor(me(),section,4)).cnum(ancestor(me(),section,3)).cnum(ancestor(me(),section,2)).cnum(ancestor(section))'  ',)</>
  317. </style>
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324. <group name="hide-all">
  325.     <hide>    All    </>
  326. </group>
  327.  
  328. <style name="BOOKINFO" group="hide-all"></style>
  329. <style name="TOC" group="hide-all"></style>
  330. <style name="LOE" group="hide-all"></style>
  331. <style name="LOF" group="hide-all"></style>
  332. <style name="LOP" group="hide-all"></style>
  333. <style name="LOT" group="hide-all"></style>
  334. <style name="LOM" group="hide-all"></style>
  335. <style name="ABSTRACT" group="hide-all"></style>
  336. <style name="BLOCKQUOTE" group="hide-all"></style>
  337. <style name="CMDSYNOPSIS" group="hide-all"></style>
  338. <style name="CAUTION" group="hide-all"></style>
  339. <style name="DANGER" group="hide-all"></style>
  340. <style name="DEFLIST" group="hide-all"></style>
  341. <style name="DOCINFO" group="hide-all"></style>
  342. <style name="EQUATION" group="hide-all"></style>
  343. <style name="EXAMPLE" group="hide-all"></style>
  344. <style name="FIGURE" group="hide-all"></style>
  345. <style name="FUNCSYNOPSIS" group="hide-all"></style>
  346. <style name="GRAPHIC" group="hide-all"></style>
  347. <style name="HIGHLIGHTS" group="hide-all"></style>
  348. <style name="IMPORTANT" group="hide-all"></style>
  349. <style name="ITEMIZEDLIST" group="hide-all"></style>
  350. <style name="LITERALLAYOUT" group="hide-all"></style>
  351. <style name="MSGSET" group="hide-all"></style>
  352. <style name="NOTE" group="hide-all"></style>
  353. <style name="ORDEREDLIST" group="hide-all"></style>
  354. <style name="PARA" group="hide-all"></style>
  355. <style name="PROCEDURE" group="hide-all"></style>
  356. <style name="PROGRAMLISTING" group="hide-all"></style>
  357. <style name="PROGRAMLISTINGCO" group="hide-all"></style>
  358. <style name="REFENTRY" group="hide-all"></style>
  359. <style name="SCREEN" group="hide-all"></style>
  360. <style name="SCREENCO" group="hide-all"></style>
  361. <style name="SEGMENTEDLIST" group="hide-all"></style>
  362. <style name="SHORTCUT" group="hide-all"></style>
  363. <style name="SIMPLELIST" group="hide-all"></style>
  364. <style name="SYNOPSIS" group="hide-all"></style>
  365. <style name="TABLE" group="hide-all"></style>
  366. <style name="TIP" group="hide-all"></style>
  367. <style name="TITLEABBREV" group="hide-all"></style>
  368. <style name="VARIABLELIST" group="hide-all"></style>
  369. <style name="WARNING" group="hide-all"></style>
  370. <style name="REFERENCE" group="hide-all"></style>
  371. <style name="PARTINTRO" group="hide-all"></style>
  372. <style name="ARTICLE" group="hide-all"></style>
  373. <style name="GLOSSDIV" group="hide-all"></style>
  374. <style name="GLOSSENTRY" group="hide-all"></style>
  375. <style name="INDEX" group="hide-all"></style>
  376. <style name="INDEXDIV" group="hide-all"></style>
  377. <style name="INDEXENTRY" group="hide-all"></style>
  378. </sheet>
  379.